<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>VDS Manager</title>
  </head>
  <body>
  	<div align="center" style="font-family: 黑体;">
  		<h2>设备详细信息</h2>
  		<table style="text-align: center;">
  			<tr>
  				<th width="16px">ID</th>
  				<th width="128px">型号</th>
  				<th width="100px">IMEI</th>
  				<th width="8px">IMEI/SV</th>
  				<th width="128px">序列号</th>
  				<th width="160px">MAC地址</th>
  				<th width="100px">系统版本</th>
  				<th width="160px">注册时间</th>
  				<th width="60px">操作</th>
  			</tr>
  			<s:iterator id="devInfo" value="#request.vdsDeviceInformations">
  				<tr>
  					<td><s:property value="#devInfo.getId()" /></td>
  					<td><s:property value="#devInfo.getModel()" /></td>
  					<td><s:property value="#devInfo.getImei()" /></td>
  					<td><s:property value="#devInfo.getImeiSv()" /></td>
  					<td><s:property value="#devInfo.getSerialNo()" /></td>
  					<td><s:property value="#devInfo.getWlanMac()" /></td>
  					<td><s:property value="#devInfo.getOsVersion()" /></td>
  					<td><s:property value="#devInfo.getRegistrationTime()" /></td>
  					<td><a href="<%=path %>/management/vds/removeVDSDeviceInformation.action?id=<s:property value='#devInfo.getId()' />"><s:text name="listVDSDeviceInformation.remove" /></a></td>
  				</tr>
  			</s:iterator>
  		</table>
  	</div>
  </body>
</html>
